﻿using Abp.Application.Services;
using MyCompanyName.AbpZeroTemplate.Prm.Admin.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace MyCompanyName.AbpZeroTemplate.Prm.Admin
{
    public interface IBusinessAppService : IApplicationService
    {
        List<GetBusinessOutPut> GetAll();
        Task<Dto.GetBusinessOutPut> Get([FromUri]int businessId);
        Task CreateOrEdit(CreateOrEditBusinessInPut input);
        Task<List<GetCompanyLevelTreeOutPut>> GetCompanyLevel();
        Task Delete([FromUri]int businessId);

        List<KeyValuePair<long, string>> GetUsers([FromUri]int businessId, int laboratoryId, int rdCenterId);

        List<GetCompanyUserOutPut> GetCompanyUser([FromUri]GetCompanyInPut input);


        void SetCompanyUser(SetCompanyUserInPut input);


        void RemoveCompanyUser(SetCompanyUserInPut input);
    }
}
